﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="kq_view.aspx.cs" Inherits="HY.WEB.OA.kqview" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
  <form id="form1" runat="server">
    <div >
    
        <ext:PageManager ID="PageManager1" runat="server" />
        <ext:HiddenField ID="hidstype" runat="server"></ext:HiddenField>
<ext:Form ID="Form2" runat="server" Height="36px" BodyPadding="5px" ShowHeader="false"
ShowBorder="false" EnableBackgroundColor="true">
<Rows>
<ext:FormRow ID="FormRow1" runat="server">
<Items>

<ext:DropDownList ID="ddlfiled" runat="server" Label="查询字段"  >
</ext:DropDownList>

<ext:DropDownList ID="ddlwhere" runat="server" Label="查询条件"  >
</ext:DropDownList>

<ext:TwinTriggerBox ID="txt" runat="server" ShowLabel="false" EmptyText="关键字"
 Trigger1Icon="Clear" Trigger2Icon="Search" ShowTrigger1="false" OnTrigger2Click="ttbSearchMessage_Trigger2Click"
　OnTrigger1Click="ttbSearchMessage_Trigger1Click">
</ext:TwinTriggerBox>

    <ext:Button ID="btnSearch" Icon="Zoom" runat="server"  Text="高级查询" >
    </ext:Button>
</Items>
</ext:FormRow>

</Rows>
</ext:Form>


            <ext:Grid ID="Grid1" Title="考勤查询"     PageSize="15" ShowBorder="true" ShowHeader="true" AutoHeight="true" AllowPaging="true"
        runat="server" EnableCheckBoxSelect="True"  DataKeyNames="sid"
        OnPageIndexChange="Grid1_PageIndexChange" EnableRowNumber="True" OnSort="Grid1_Sort" AnchorValue="100% -36px">

   
        <Columns>
            <ext:TemplateField Width="60px"  HeaderText="编号" >
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server" Text='<%# Container.DataItemIndex + 1 %>'></asp:Label>
                </ItemTemplate>
            </ext:TemplateField>
             <ext:BoundField Width="100px" DataField="yname" DataFormatString="{0}" SortField="yname" HeaderText="员工" />
          
            <ext:BoundField Width="100px" DataField="ytime" DataFormatString="{0:yyyy-MM-dd hh:mm}" HeaderText="打卡时间" />
          
           <ext:BoundField Width="100px" DataField="ytype" DataFormatString="{0}" SortField="yname" HeaderText="班次" />
           
                          
        </Columns>
    </ext:Grid>
           <ext:Window ID="Window1" Title="编辑" Popup="false" EnableIFrame="true" runat="server"
        CloseAction="HidePostBack" EnableConfirmOnClose="true" IFrameUrl="about:blank"
        OnClose="Window1_Close" Target="Top" IsModal="True" Width="750px" Height="480px">
    </ext:Window>
    </div>
    </form>
</body>
</html>
